package com.sixth.controller;

import com.sixth.core.entity.OrderBackfeeItem;
import com.sixth.core.entity.OrderChargeItem;
import com.sixth.core.vo.R;
import com.sixth.mapper.OrderBackfeeItemMapper;
import com.sixth.service.OrderBackfeeItemService;
import com.sixth.vo.OrderChargeVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 李劲锋
 * @create: 2024-08-20 11:14
 **/
@RestController
@RequestMapping("/charge/orderItemFee")
@Api(tags = "查询退费明细")
public class OrderBackfeeItemController {
    @Autowired
    private OrderBackfeeItemService orderBackfeeItemService;

    @GetMapping("/List/{backId}")
    @ApiOperation(value = "查询退费明细")
    public R<List<OrderBackfeeItem>> orderFeeItemList(@PathVariable String backId){
        return orderBackfeeItemService.orderFeeItemList(backId);
    }


}
